import request from '@/utils/request'

let Shoptime = {

  /*修改*/
  update(data, errorback) {
    return request._post('/supplier/setting.shoptime/update', data, errorback);
  },

  /*创建*/
  create(data, errorback) {
    return request._post('/supplier/setting.shoptime/create', data, errorback);
  },

  /*删除*/
  delete(data, errorback) {
    return request._post('/supplier/setting.shoptime/delete', data, errorback);
  },

  /*列表*/
  list(data, errorback) {
    return request._get('/supplier/setting.shoptime/index', data, errorback);
  },

}

export default Shoptime;
